package com.ruoyi.community.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公告板块对象 base_notice_section
 * 
 * @author ruoyi
 * @date 2021-12-16
 */
public class BaseNoticeSection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 板块id */
    private String sectionId;

    /** 板块名 */
    @Excel(name = "板块名")
    private String sectionName;

    /** 状态/是否停用，0正常1停用 */
    @Excel(name = "状态/是否停用")
    private String status;

    /** 板块创建人 */
    @Excel(name = "板块创建人")
    private String creater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date syncTime;

    /** 社区id */
    @Excel(name = "社区id")
    private Long communityId;

    public void setSectionId(String sectionId) 
    {
        this.sectionId = sectionId;
    }

    public String getSectionId() 
    {
        return sectionId;
    }
    public void setSectionName(String sectionName) 
    {
        this.sectionName = sectionName;
    }

    public String getSectionName() 
    {
        return sectionName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setSyncTime(Date syncTime) 
    {
        this.syncTime = syncTime;
    }

    public Date getSyncTime() 
    {
        return syncTime;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sectionId", getSectionId())
            .append("sectionName", getSectionName())
            .append("status", getStatus())
            .append("creater", getCreater())
            .append("syncTime", getSyncTime())
            .append("communityId", getCommunityId())
            .toString();
    }
}
